package com.easonji.attendance.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;


import java.io.Serializable;

/**
 * <p>
 * 流程管理
 * </p>
 *
 * @author easonji
 * @since 2018-10-01
 */

@TableName("att_procedure")

public class Procedure extends Model<Procedure> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pro_id", type = IdType.AUTO)
    private Integer proId;

    @TableField("pro_name")
    private String proName;

    @TableField("pro_post")
    private String proPost;

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }
    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }
    public String getProPost() {
        return proPost;
    }

    public void setProPost(String proPost) {
        this.proPost = proPost;
    }

    @Override
    protected Serializable pkVal() {
        return this.proId;
    }

    @Override
    public String toString() {
        return "Procedure{" +
        "proId=" + proId +
        ", proName=" + proName +
        ", proPost=" + proPost +
        "}";
    }
}
